package com.kuaung.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuaung.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository //代表持久层
@Mapper
@Component
//在对应的Mapper上面继承基本的类BaseMapper
public interface UserMapper extends BaseMapper<User> {
    //所有的CRUD操作都已经编写完成
}
